package com.wlcorp.forcazamis.domain.message;

import com.wlcorp.forcazamis.domain.system.Staff;
import com.wlcorp.forcazamis.sys.BaseBean;

public class MessageStaff extends BaseBean {
	private static final long serialVersionUID = 1L;
	private Long id;
	private Staff staff;
	private Message message;
	private int type;//0:收件 1:草稿 2:已发 3:存档
	private int readStatus;//查看状态 0:未读，1:已读
	private int saveStatus;//存档状态 0:未存档，1:已存档
	private Long receiverId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Message getMessage() {
		return message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getReadStatus() {
		return readStatus;
	}

	public void setReadStatus(int readStatus) {
		this.readStatus = readStatus;
	}

	public int getSaveStatus() {
		return saveStatus;
	}

	public void setSaveStatus(int saveStatus) {
		this.saveStatus = saveStatus;
	}

	public Long getReceiverId() {
		return receiverId;
	}

	public void setReceiverId(Long receiverId) {
		this.receiverId = receiverId;
	}

	public String getReadStatusName(){
		String readStatusName="未读";
		if (this.readStatus==1) {
			readStatusName="已读";
		}
		return readStatusName;
	}
	
}
